package com.hy.pojo.doctor;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("hospital")
public class APPHospital {

    private static final long serialVersionUID = 1L;

    /** 医院id */
    @TableId("id")
    private Long id;

    @TableField("imgurl")
    private String imgurl;

    /** 医院名称 */
    @TableField("name")
    private String name;

    /** 医院所属地址id */
    @TableField("address_id")
    private Long addressId;

    /** 医院所属医生数量 */
    @TableField("doctors_num")
    private Long doctorsNum;

    @TableField("create_time")
    private Date createTime;
}
